<?php
$host = 'localhost';
$dbname = 'st3';
$user = 'root';
$password = '';
mysql_connect($host, $user, $password);
mysql_select_db($dbname);

$karma = $rezult['karma'];
$karma--;
$q = 'UPDATE users SET karma = karma - 1';
$m = mysql_query($q);
mysql_close();

?>